package demo02;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @ClassName Demo
 * @Description TODO
 * @Author zhongge
 * @Version 1.0
 */
public class Demo {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context
                = new AnnotationConfigApplicationContext("demo02");
        Student student = context.getBean(Student.class);
        System.out.println(student);
    }
}
